package com.itheima.reggie.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.common.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "地址", tags = "收获地址管理")
@RequestMapping("addressBook")
@RestController
@Slf4j
public class AddressBookController {

    @ApiOperation(value = "地址分页")
    @PostMapping("/page")
    public R<Page> page(int page,int pageSize,String name){

        return null;
    }
}
